package com.hh.flow.mapper;

import com.monkey.flow.core.domain.entity.FlowInstance;
import org.apache.ibatis.annotations.Update;

/**
 * @description:  流程mapper
 * @author minliuhua
 * @date: 2023/5/29 13:45
 */
public interface ExecuteMapper {

    /**
     * 更新业务表状态
     * @param flowInstance
     * @return
     */
    @Update("update  ${ext} set flow_status=#{flowStatus}, node_type=#{nodeType} where id=#{businessId}")
    public int updateStatus(FlowInstance flowInstance);

}
